﻿<UserControl x:Class="WPFMachine.Screen.TextControlScreen"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:WPFMachine.Screen"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid x:Name="LayoutRoot">
        <local:ZTextControl x:Name="ztc" />
        <!-- Overlay a transparent canvas to intercept mouse clicks and key press events -->
        <!-- This needs to stay over the RichTextBox or it messed up the key handling -->
        <Canvas Background="Transparent">
            <Canvas x:Name="cnvsTop" Canvas.Left="0" />
        </Canvas>
    </Grid>
</UserControl>
